package com.lagou.edu.wwyan.nacos.code.service.impl;

import com.lagou.edu.wwyan.nacos.code.service.EmailFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

//@Component
@Slf4j
public class EmailFeignClientFailBack implements EmailFeignClient {
    @Override
    public Boolean sendCode(String email, String code) {
        log.error("发送验证码失败：{},{}",email,code);
        return false;
    }
}
